#!/usr/local/bin/ruby
# -*- coding: undecided -*-

print "Content-Type: text/html\n"
print "\n"
print "front page\n"

require 'net/http'
require 'benchmark'

b = Benchmark.measure{
  Net::HTTP.version_1_2
  Net::HTTP.start('www.peppynet.com', 80) {|http|
    response = http.get('/')
    puts response.body
  }
}

puts b.real
